#include <iostream>

using namespace std;

int main()
{
	int num; // num - input from user for a digit between -8 to -1
	cout << "Please enter a number between -8 to -1" << endl;
	cin >> num;
	num = 16 + num;
	cout << num;
	cout << "The number in binary form at 4bits is: ";
	while(num > 0)
	{
		cout << num%2;
		num = num/2;
	}
	cout << endl;
	return 0;
}
